package t1;

public class Dice {

	public static int faceValue;//点数
	
	//为faceValue赋值（1-6的随机数）
	public static void roll(){
		faceValue = (int)(Math.random()*6+1);
	}
	
	//获取faceValue的值
	public static int getFaceValue(){
		return faceValue;
	}
	
}
